// [{id: 唯一标识, name: 武器名称, className: 类名, stacking: 最大堆叠量, allowAttack: 是否可以攻击, img: 图片贴图}]
// {
//   id: 1,                 唯一标识
//   name: "剑",            武器名称
//   className: "sword",    类名
//   stacking: 1,           最大堆叠量
//   allowAttack: true,     是否可以攻击
//   attackTime: 500,       攻击间隔时间
//   img: require("@/" + imageBaseUrl + "weapon/sword.png"),     图片贴图
// }
const imageBaseUrl = "assets/image/";

export const weapons = [
  {
    id: 1,
    name: "剑",
    className: "sword",
    stacking: 1,
    allowAttack: true,
    attackTime: 500,
    followPlayer: true,
    img: require("@/" + imageBaseUrl + "weapon/sword.png"),
  },
  {
    id: 2,
    name: "弓",
    className: "bow",
    stacking: 1,
    allowAttack: true,
    attackTime: 2000,
    followPlayer: false,
    img: require("@/" + imageBaseUrl + "weapon/bow.png"),
  },
  {
    id: 3,
    name: "箭",
    className: "arrow",
    stacking: 64,
    allowAttack: false,
    img: require("@/" + imageBaseUrl + "weapon/arrow.png"),
  },
];
